package com.hll.model;

import io.swagger.annotations.ApiModelProperty;

import com.hll.model.BaseModel;

import java.util.Date;


public class TUser extends BaseModel<TUser> {
    private static final long serialVersionUID = 5867451784381632707L;

    /**  */
    @ApiModelProperty(value = "")
    private Long id;

    /** 用户名-一般是手机号 */
    @ApiModelProperty(value = "用户名-一般是手机号")
    private String userName;

    /** 用户密码 */
    @ApiModelProperty(value = "用户密码")
    private String password;

    /** 微信唯一标识 */
    @ApiModelProperty(value = "微信唯一标识")
    private String openid;

    /** 用户是否可用 0 可用  1不可用 */
    @ApiModelProperty(value = "用户是否可用 0 可用  1不可用")
    private Integer isuse;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    public Long getId() {
        return id;
    }

    public TUser setId(Long id) {
        this.id = id;
		return this;
    }

    public String getUserName() {
        return userName;
    }

    public TUser setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
		return this;
    }

    public String getPassword() {
        return password;
    }

    public TUser setPassword(String password) {
        this.password = password == null ? null : password.trim();
		return this;
    }

    public String getOpenid() {
        return openid;
    }

    public TUser setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
		return this;
    }

    public Integer getIsuse() {
        return isuse;
    }

    public TUser setIsuse(Integer isuse) {
        this.isuse = isuse;
		return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public TUser setCreateTime(Date createTime) {
        this.createTime = createTime;
		return this;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public TUser setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
		return this;
    }
}
